﻿@model SportsStore.Domain.Entities.Product

<div class="item">
    <h3>@Model.Name</h3>
    @Model.Description

    @using ( Html.BeginForm( "AddToCart", "Cart" ) )
    {
        @Html.HiddenFor( product => product.ProductID )
        @Html.Hidden( "returnUrl", this.Request.Url.PathAndQuery )
        <input type="submit" value="+ Add to cart" />
    }

    <h4>@Model.Price.ToString( "c" )</h4>
</div>
